<!DOCTYPE >
<html>
<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>订单详情</title>
<link rel="stylesheet" type="text/css" href="__PUBLIC__/home/css/right.css">
<script type="text/javascript" src="__PUBLIC__/home/js/jquery.js"></script>
<script type="text/javascript" src="__PUBLIC__/home/js/system.js"></script>
<script type="text/javascript" src="__PUBLIC__/home/js/admin.js"></script>
</head>
<body style="overflow: auto;">
	<div class="basic bor">
			<div class="title fl">当前位置：商城管理 > 订单列表</div>
			<div class="basic_r fr"><a href="{:U('Index/setting')}">基本信息</a></div>
	</div>

<br>

<!-- 文章分类列表 -->
<div class="catelist">
    <div class="lists listsov">
    <dd><a href="{:U('Goods/orderlist')}">订单详情</a></dd>
    </div>
</div>
<!-- /文章分类列表 -->
<table border="1"  class="table table-hover text-center" id='list'>
  <tr class="trcolor">
    <td>序号</td>
    <td>订单名称</td>
    <td>规格</td>
    <td>缩略图</td>
  </tr>

<!-- ============================================================= -->
<volist name="list.goodslist" id="li" key="k">
  <tr>
    <td><span class="addname">{$k}</span></td>
    <td class="color444 textleft_lover"><span class="addname">{$li.name}&nbsp;{$li.weight} {$li.list_num}件
 </span></td>
    <td class="color12"> <span class="addname">{$li[gitmelist][0]}</span></td>
    <td class="color12"><span class="addname">
     <img src="{$li.litimg}" height="45" width="100" class="pic">
    </span></td>
  </tr>
</volist>
 <tr>
   <td class="color12" colspan="4">联系方式</td>
 </tr>
  <tr>
    <td class="color12">用户名：{$name.$list[buyer_id]}</td>
    <td class="color12">下单时间：<?php echo  date("Y年m月d日 H时m分d秒",$list[ctime]); ?></td>
    <td class="color12">
      总单价：{$list.order_amount}


      <if condition="$list['order_state'] eq 10 ">
        
   <form action="{:U('Goods/upmoney')}" method="post" >
                <input type="text" name="order_amount" placeholder="修改后的单价" value="" >
                <input type="hidden" name="id" value="{$list.id}" >
                <input type="submit"  value="确认修改" >
                </form>


      </if>


      
   </td>
    <td class="color12">支付方式：{$list.payment_code}
  



          <if condition="$list['order_state'] eq 10 ">
            未付款

          


            <elseif condition="$list['order_state'] eq 20 "/>
                <form action="{:U('Goods/order_nd')}" method="post" >
                <input type="text" name="order_nd" placeholder="请输入快递单号" value="" >
                <input type="hidden" name="id" value="{$list.id}" >
                <input type="submit"  value="确认发货" >
                </form>
            <elseif condition="$list['order_state'] eq 30 "/>

            待收货
            <elseif condition="$list['order_state'] eq 40 "/>

            交易成功
          </if>

    </td>
  </tr>

    <tr>
    <td class="color12">联系人：{$list.buyer_name} &nbsp;联系电话：{$phone.$list[buyer_id]}</td>
    <td class="color12 ">地址：{$list.address}</td>
    <td class="color12">
      物流快递号：{$list.order_nd}
    </td>
    <td class="color12">购买单号：{$list.order_no}</td>
  </tr>

    <tr>
        <td class="color12" colspan="4" ><a href="#" onclick="history.go(-1)" class="color444">[返回]</a></td>
        
  </tr>
<!-- ============================================================= -->
</table>
<!-- 提示 -->
<p class="ts"><span class="colorf00">*</span><span class="ts_text"> 如果要修排序请直接点击文字修改。</span></p>
</body>
</html>